/**
 * @file ArticleSvcImpl.java
 * @brief ArticleSvcImpl Source 파일
 */

/**
 * @brief com.ryun.service.impl
 */
package com.ryun.service.impl;

import java.util.ArrayList;

import com.google.appengine.api.datastore.Entity;
import com.google.appengine.api.datastore.Query;
import com.ryun.bean.BoardBean;
import com.ryun.dao.ArticleDao;
import com.ryun.service.ArticleSvc;

public class ArticleSvcImpl implements ArticleSvc{
	private ArticleDao articleDao;
	
	public void insert(Entity e) throws Exception{
		articleDao.insert(e);
		return;
	}
	public ArrayList<BoardBean> list(Query q) throws Exception{
		return articleDao.list(q);
	}
	
	/**
	 * @brief 
	 * @return the articleDao
	 */
	public ArticleDao getArticleDao() {
		return articleDao;
	}

	/**
	 * @brief 
	 * @param articleDao the articleDao to set
	 */
	public void setArticleDao(ArticleDao articleDao) {
		this.articleDao = articleDao;
	}
}
